<div class="adminTableWrapper">
<table class="admin">
	<thead>
		<tr>
			<td class="w20">ID</td>
			<td><?php echo Intl::__('Name'); ?></td>
			<td><?php echo Intl::__('Email'); ?></td>
			<td><?php echo Intl::__('Level'); ?></td>
			<td><?php echo Intl::__('Login'); ?></td>
			<td><?php echo Intl::__('Operation'); ?></td>
		</tr>
	</thead>
	<tbody>
		<?php
		foreach($paging as $item):
		?>
		<tr>
			<td><?php echo $item -> getId(); ?></td>
			<td><a href="<?php echo $item->getUrl(); ?>" target="_blank"><?php echo $item->getTitle();?></a></td>
			<td><?php echo $item -> email; ?></td>
			<td><?php echo $item -> title; ?></td>
			<td><?php echo $item -> login_at ? Intl::getTimeDiff($item -> login_at) : ''; ?></td>
			<td>
				<a href="<?php echo Nuo::getUrl('admincp/user/manage//edit', array('user_id' => $item -> getId())); ?>" aria-click="fbox"><?php echo Intl::__('Edit'); ?></a> <span class="middot">&middot;</span>
				<a href="<?php echo Nuo::getUrl('admincp/user/manage//delete', array('user_id' => $item -> getId())); ?>" aria-click="fbox"><?php echo Intl::__('Delete'); ?></a> <span class="middot">&middot;</span>
				<a href="<?php echo Nuo::getUrl('admincp/user/manage//block', array('user_id' => $item -> getId())); ?>" aria-click="fbox"><?php echo Intl::__('Block'); ?></a> <span class="middot">&middot;</span> 
				<a href="<?php echo Nuo::getUrl('admincp/user/manage//resetpwd', array('user_id' => $item -> getId())); ?>" aria-click="fbox"><?php echo Intl::__('Reset Password'); ?></a>
			</td>
		</tr>
		<?php endforeach; ?>
	</tbody>
</table></div>

<?php echo $paging -> getPaginator(); ?>
